import instance from './interceptors'

export const addLease = (data) => {
    return instance.post('/api/lease/addLease',data);
}

export const getLease = () => {
    return instance.get('/api/lease/getLeaseData');
}

export const deleteLease = (data) => {
    return instance.post('/api/lease/deleteLease',data);
}
export const getUserLeases = (data) => {
    return instance.post('/api/lease/getUserLease',data);
}

